// network/NewsApiService.java
package com.example.newsapp.network;

import com.example.newsapp.model.entity.NewsData;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

public interface NewsApiService {
    @GET("nc/auto/list/{city}/{page}-20.html")
    Call<NewsData> getNewsList(@Path("city") String city, @Path("page") int page);
}